package best.driver.android.Beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xiangxuefeng on 15/8/17.
 */
public class NewOrderInfo implements Serializable{
    public String orderId;
    public String type;
    public long bookTime;
    public List<OrderExtraServices> orderExtraServices;
    public String remark;
    public double estimatePrice = -0.1;
    public String paymentMethod;
    public List<OrderAddresses> orderAddresses;
    public int driverDistance;
    public String transportMode;
    public String extraServiceDetail;
    public boolean familiarFlag;
    public double familiarPrice;

    public class OrderExtraServices implements Serializable{
        public String name;
        public String displayName;
    }

    public NewOrderInfo(OrderDetailInfo info) {
        this.orderId = info.orderId;
        this.estimatePrice = info.actualPrice;
    }

}
